﻿using System.ComponentModel.DataAnnotations;
using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Models
{
    ///<summary>
    ///
    ///</summary>
    [Tenant("Test_Demo")]
    [SugarTable("PPACKINFOR")]
    public partial class Ppackinfor
    {
           public Ppackinfor() { }

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [Required(ErrorMessage ="TUOPAN必填" )]
           [StringLength(50, ErrorMessage ="TUOPAN长度50" )]
           public string TUOPAN {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [Required(ErrorMessage ="PCS必填" )]
           public int PCS {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [Required(ErrorMessage ="BOX必填" )]
           [StringLength(50, ErrorMessage ="BOX长度50" )]
           public string BOX {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [Required(ErrorMessage ="PACK必填" )]
           [StringLength(50, ErrorMessage ="PACK长度50" )]
           public string PACK {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [Required(ErrorMessage ="LOT必填" )]
           [StringLength(50, ErrorMessage ="LOT长度50" )]
           public string LOT {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public int ID {get;set;}

    }
}
